package com.learning.spring.cloud.alibaba.feign.order.web.service;

import com.learning.spring.cloud.alibaba.feign.order.web.model.Order;

import java.util.List;

/**
 * ClassName: IUserService
 * Description:
 * Date: 2021/7/25 21:58 【需求编号】
 *
 * @author Sam Sho
 * @version V1.0.0
 */
public interface IOrderService {

    /**
     * @param record
     * @return
     */
    int insert(Order record);

    /**
     * @param id
     * @return
     */
    int deleteByPrimaryKey(Long id);

    /**
     * @param id
     * @return
     */
    Order selectByPrimaryKey(Long id);


    List<Order> queryByUserId(Long userId);
}
